package  com.kuizii.demo.starter;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


/**
 * <p>
 *   项目--admin
 * </p>
 *
 * @author nuanyang
 * Email freexiaodong@163.com
 * Created by 2019-06-13 20:40:17
 */
@EnableDiscoveryClient
@EnableKnife4j
@SpringBootApplication
@MapperScan(basePackages = {"com.kuizii.demo.core.dao"})
@ComponentScan(basePackages = {"com.kuizii.demo","com.kuizii.base"})
@EnableCaching
@EnableDubbo(scanBasePackages = {"com.kuizii.demo.core.service"})
public class DemoStarterApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoStarterApplication.class,args);
        System.out.println("====================================================================");
        System.out.println("====================================================================");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                    服务启动成功                  <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("====================================================================");
        System.out.println("====================================================================");
    }
}
